package org.gaaidou.ptarmigan.server.io;

import org.gaaidou.ptarmigan.server.protocol.HttpRequest;
import org.gaaidou.ptarmigan.server.protocol.HttpResponse;

public class NotFoundHandler implements Handler {
    @Override
    public HttpResponse handle(HttpRequest request) {
        return HttpResponse.builder()
                .statusCode(404)
                .reasonPhrase("Not Found")
                .build();
    }
}
